var mongoose = require('mongoose');

//模式
var UserSchema = require('../schemas/user');

//编译模型
var User = mongoose.model('users',UserSchema); //与集合users关联

module.exports = User;